import { useEffect, useState } from 'react';
import UserService from '@/service/user.service';

export default function () {
  const [list, setList] = useState(Array(100).fill(1));

  useEffect(() => {
    UserService.getUserInfo().then((res) => {
      console.log(res);
    });
  }, []);

  return (
    <div style={{ display: 'flex', flexWrap: 'wrap' }}>
      {/* {list.map((item, index) => {
        return (
          <div key={index} style={{ width: '20%', height: 200 }}>
            <Com />
          </div>
        );
      })} */}
    </div>
  );
}
